package com.stylefeng.guns.modular.restDay.service.impl;

import com.stylefeng.guns.modular.system.model.DoorRestMessage;
import com.stylefeng.guns.modular.system.dao.DoorRestMessageMapper;
import com.stylefeng.guns.modular.restDay.service.IDoorRestMessageService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author stylefeng
 * @since 2018-09-12
 */
@Service
public class DoorRestMessageServiceImpl extends ServiceImpl<DoorRestMessageMapper, DoorRestMessage> implements IDoorRestMessageService {

    @Override
    public List<DoorRestMessage> getRestMessageList(String restName, String dateTime, String startTime, String endTime) {
        return baseMapper.getRestMessageList(restName, dateTime, startTime, endTime);
    }
}
